Exodus 24:12-18

24:12 The Lord said to Moses, “Come up to me to the mountain and remain there, and I will give you the stone tablets with the law and the commandments that I have written, so that you may teach them.” 24:13 So Moses set out with Joshua his attendant, and Moses went up the mountain of God. 24:14 He told the elders, “Wait for us in this place until we return to you. Here are Aaron and Hur with you. Whoever has any matters of dispute can approach them.”

24:15 Moses went up the mountain, and the cloud covered the mountain. 24:16 The glory of the Lord resided on Mount Sinai, and the cloud covered it for six days. On the seventh day he called to Moses from within the cloud. 24:17 Now the appearance of the glory of the Lord was like a devouring fire on the top of the mountain in plain view of the people. 24:18 Moses went into the cloud when he went up the mountain, and Moses was on the mountain forty days and forty nights.